<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>管理员登录</h1>
<span th:text="${error}"></span>
<form action="/admin/doLogin" method="post">
    username:<input name="username"><br/>
    password:<input name="password"><br/>
    <input value="login" type="submit">
</form>
</body>
</html>